package cn.tx.dao;

import cn.tx.model.Dept;

import java.util.List;
import java.util.Map;

public interface DeptDao {

    public Dept findByUserName(String username);
    public Dept findByUser(int userid);
    public int addDept(Dept Dept);
    public List<Dept> findList(Map<String,Object> querymap);
    public int findTotal(Map<String,Object> querymap);
    public int UpdateDeptById(Dept dept);
    public int delete(String ids);
    public List<Dept> findAll();
}
